package buzzword;

import json.JSONException;
import json.JSONObject;

public class Field {
	
	private int column;
	private int row;
	private String value;
	
	public Field(JSONObject currentValue) throws JSONException{
		this.column = currentValue.getInt("column");
		this.row = currentValue.getInt("row");
		this.value = currentValue.getString("word");
	}
	
	public int getColumn(){
		return this.column;
	}
	
	public int getRow(){
		return this.row;
	}
	
	public String value(){
		return this.value;
	}

}
